// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:53:49

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   gy.java

package com.zelix;

import java.util.Enumeration;
import java.util.Hashtable;

// Referenced classes of package com.zelix:
//            px, fy

public class gy
{

    Hashtable a;
    int b;
    int c;

    public gy(int i)
    {
        this(i, 10, 5);
    }

    public gy(int i, int j)
    {
        this(i, j, 5);
    }

    public gy(int i, int j, int k)
    {
        b = j;
        c = k;
        a = new Hashtable(px.a(i));
    }

    public boolean a(Object obj, Object obj1)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 == null)
            return false;
        else
            return fy1.a(obj1);
    }

    public boolean a(Object obj, Object obj1, Object obj2)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 == null)
            return false;
        else
            return fy1.a(obj1, obj2);
    }

    public fy a(Object obj)
    {
        return (fy)a.get(obj);
    }

    public Hashtable b(Object obj, Object obj1)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 == null)
            return null;
        else
            return fy1.b(obj1);
    }

    public Object a(Object obj, Object obj1, Object obj2)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 == null)
            return null;
        Hashtable hashtable = fy1.b(obj1);
        if(hashtable == null)
            return null;
        else
            return hashtable.get(obj2);
    }

    public Enumeration a()
    {
        return a.keys();
    }

    public Object a(Object obj, Object obj1, Object obj2, Object obj3)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 == null)
        {
            fy1 = new fy(b, c);
            Object obj4 = fy1.b(obj1, obj2, obj3);
            a.put(obj, fy1);
            return obj4;
        } else
        {
            return fy1.b(obj1, obj2, obj3);
        }
    }

    public fy b(Object obj)
    {
        return (fy)a.remove(obj);
    }

    public Object b(Object obj, Object obj1, Object obj2)
    {
        fy fy1 = (fy)a.get(obj);
        if(fy1 != null)
        {
            Object obj3 = fy1.c(obj1, obj2);
            if(fy1.f() == 0)
                a.remove(obj);
            return obj3;
        } else
        {
            return null;
        }
    }
}